package kuzmenkov.oip.model.dao.hibernate;

import kuzmenkov.oip.model.MethodClass;
import kuzmenkov.oip.model.Module;

import java.util.List;

import org.springframework.dao.DataAccessException;

/**
 * Interface describes accessing to the database table "method_class"
 * User: Michael Kuzmenkov
 * Date: 16.03.2009
 * Time: 3:47:52
 */
public interface MethodClassDao extends GenericDao<MethodClass, Long> {
    /**
     * Finds subclasses for a class which has given primary key
     * @param id
     * @return
     * @throws DataAccessException
     */
    List<MethodClass> findSubclasses (Long id) throws DataAccessException ;
}